@Test
public void isAuthorizedToRunContainerTestsUnauthorized() {

    assertThat(WebUtils.isAuthorizedToRunContainerTests((SUser) null)).isFalse();
    TestSUser user = new TestSUser();
    user.addProjectPermission("Foo", Permission.START_STOP_CLOUD_AGENT);
    assertThat(WebUtils.isAuthorizedToRunContainerTests(user)).isFalse();
    user = new TestSUser();
    user.addProjectPermission("Foo", Permission.MANAGE_AGENT_CLOUDS);
    assertThat(WebUtils.isAuthorizedToRunContainerTests(user)).isFalse();
}