@Test
public void isAuthorizedToRunContainerTests() {

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