@Test(expected = ConfigurationException.class) public void testAuthenticateTMForController_noOrgConfigured() throws Throwable { authService.authenticateTMForController("ess.test", defaultAuth); }
@Test(expected = IllegalArgumentException.class) public void testAuthenticateTMForController_NullAuth() throws Throwable { authService.authenticateTMForController("controllerId", null); }
@Test(expected = ConfigurationException.class) public void testAuthenticateTMForController_NullOrganization() throws Throwable { authService.authenticateTMForController("controllerId", defaultAuth); }
@Test(expected = IllegalArgumentException.class) public void testAuthenticateTMForController_NullController() throws Throwable { authService.authenticateTMForController(null, defaultAuth); }