{
assertTrue( "Service should not be Active before accessed", !service.isActive() );
assertTrue( service.get().data().activated );
assertTrue( "Service should be Active after access.", service.isActive() );
}
assembly.application().passivate();
}
@Test
public void givenMixedSuccessFailurePassivationWhenPassivatingExpectAllPassivateMethodsToBeCalled()
throws Exception