@Test
public void testRemoveUserFromCertificateFailure400() {

    UserDetails userDetail = getMockUser(true);
    userDetail.setUsername("testuser1");
	CertificateUser certUser = new CertificateUser("testuser1", "deny", "certificatename", "internal");
    String expectedResponse = "{\"errors\":[\"Invalid input values\"]}";
    ResponseEntity<String> responseEntityExpected = ResponseEntity.status(HttpStatus.BAD_REQUEST).body(expectedResponse);
    ResponseEntity<String> responseEntity = sSLCertificateService.removeUserFromCertificate(certUser, userDetail);
    assertEquals(HttpStatus.BAD_REQUEST, responseEntity.getStatusCode());
    assertEquals(responseEntityExpected, responseEntity);
}