endovena v0.2.0 (2014-10-22T20:48:53Z)
Dub
Repo
resolving_singleton_twice_should_return_same_instances
tests
container
Undocumented in source. Be warned that the author may not have intended to support it.
@
UnitTest
void
resolving_singleton_twice_should_return_same_instances
(
)
Meta
Source
See Implementation
tests
container
functions
Given_no_constructor_selector_specified_in_registration_Get_implementation_with_multiple_constructors_should_throw
get_non_registered_service_should_throw
get_service_should_return_registered_implementation
given_named_and_default_registerations_Get_with_name_should_return_correspondingly_named_service
given_named_and_default_registerations_Get_without_name_returns_default
given_only_named_registrations_Get_without_name_should_throw
given_registered_service_Injecting_it_as_dependency_should_work
given_two_named_registerations_Get_without_name_should_throw
given_two_resolved_service_instances_Injected_singleton_dependency_should_be_the_same_in_both
registering_second_default_implementation_should_throw
registering_service_with_duplicate_name_should_throw
resolving_service_with_NON_registered_dependency_should_throw
resolving_singleton_twice_should_return_same_instances
when_resolving_service_with_two_dependencies_dependent_on_singleton_Then_same_singleton_instance_should_be_used