mock(RepositoryConditions.class),
new NexusConditions(new NexusIsActiveCondition(eventBus)),
mock(CryptoConditions.class)
);
eventBus.post(new NexusStartedEvent(this));
when(activationCondition.isSatisfied()).thenReturn(true);
when(capability.activationCondition()).thenReturn(activationCondition);
when(validityCondition.isSatisfied()).thenReturn(true);