Coder Social home page Coder Social logo

Comments (4)

TedSander avatar TedSander commented on July 20, 2024

These seem to all be exposed to the client in some way.
Answering is a typeDef used in thenAnswer which seems like a good idea to keep the typedef if people want to use it.
Same with Expectation it is used in when
PostExpectation is class returned by when
similar with VerficiationResult/Verification

Are you just suggest we return dynamic instead? Seems safer to have have the typedefs and the classes.

from mockito.

srawlins avatar srawlins commented on July 20, 2024

I'd love to get this resolved in the next few months, releasing 3.0.0 in Q1. @TedSander I wonder if when can return a private class to really discourage ever... assigning to a variable. Is that ever needed? I'm not sure I've ever seen a good reason to store things like this...

But even then, can there be a greater negative consequence by making PostExpectation private, etc.?

from mockito.

TedSander avatar TedSander commented on July 20, 2024

I'd be OK with making them private if it doesn't impair the primary use cases.

from mockito.

matanlurey avatar matanlurey commented on July 20, 2024

I think there isn't anything actionable here anymore.

from mockito.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.