@Test
 public void testLogoutTypeNull() {
   this.registeredService.setLogoutType(null);
   final Collection<LogoutRequest> logoutRequests = this.logoutManager.performLogout(tgt);
   assertEquals(1, logoutRequests.size());
   final LogoutRequest logoutRequest = logoutRequests.iterator().next();
   assertEquals(ID, logoutRequest.getTicketId());
 }
 @Test
 public void testLogoutTypeNotSet() {
   final Collection<LogoutRequest> logoutRequests = this.logoutManager.performLogout(tgt);
   assertEquals(1, logoutRequests.size());
   final LogoutRequest logoutRequest = logoutRequests.iterator().next();
   assertEquals(ID, logoutRequest.getTicketId());
   assertEquals(this.simpleWebApplicationServiceImpl, logoutRequest.getService());
   assertEquals(LogoutRequestStatus.SUCCESS, logoutRequest.getStatus());
 }
 @Test
 public void testLogoutTypeFront() {
   this.registeredService.setLogoutType(LogoutType.FRONT_CHANNEL);
   final Collection<LogoutRequest> logoutRequests = this.logoutManager.performLogout(tgt);
   assertEquals(1, logoutRequests.size());
   final LogoutRequest logoutRequest = logoutRequests.iterator().next();
   assertEquals(ID, logoutRequest.getTicketId());
   assertEquals(this.simpleWebApplicationServiceImpl, logoutRequest.getService());
   assertEquals(LogoutRequestStatus.NOT_ATTEMPTED, logoutRequest.getStatus());
 }