@Before
public final void setUpCapabilityOfTypeActiveCondition()
throws Exception
{
final CapabilityType capabilityType = capabilityType(this.getClass().getName());
when(ref1.context()).thenReturn(mock(CapabilityContext.class));
when(ref1.context().type()).thenReturn(capabilityType);
when(ref2.context()).thenReturn(mock(CapabilityContext.class));