@Test
public void shouldAllowAllAccess() throws Exception {

    final JsonEnvelope jsonEnvelope = mock(JsonEnvelope.class);
    assertThat(allowAllAccessController.checkAccessPolicyFor("command", jsonEnvelope).isPresent(), is(false));
}