Oct. 29, 2014
11:49 a.m.
Well, I'm porting existing code with tests, so I would prefer to avoid changing how they work. Now I might as well consider it a rewrite⦠On 28 October 2014 21:49, Attila Magyar <m.magyar3@gmail.com> wrote:
This is not supported. BabyMock is designed to test the message flow between objects, and not the internal implementation of an object. If the part what you want to stub out is not a private implementation detail then maybe extracting it to an object could help, otherwise couldn't you test the whole object?
-- View this message in context: http://forum.world.st/BabyMock2-Stubbing-individual-methods-from-existing-in... Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.