Use @Tested instance from test class to inject into another @Tested object, if needed #208

Closed
rliesenfeld opened this Issue Sep 13, 2015 · 0 comments

Projects

None yet

1 participant

@rliesenfeld
Member

When a test class has two or more @Tested objects, each one of them should be eligible for injection into the other tested objects. This is useful for configuring the state of a tested object used by another.

@rliesenfeld rliesenfeld self-assigned this Sep 13, 2015
@rliesenfeld rliesenfeld added a commit that closed this issue Sep 26, 2015
@rliesenfeld rliesenfeld Enhancement: fully initialized @Tested objects are now reused when fu…
…lly initializing other @Tested objects having injected fields of the other tested classes; closes #208.
0bf6a06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment