@Test
public void Test8CreateKey() throws Exception {

	VXKmsKey vxKeyExp = new VXKmsKey();
	Mockito.when(restErrorUtil.createRESTException(Mockito.nullable(String.class), (MessageEnums) Mockito.any()))
			.thenReturn(new WebApplicationException());
	thrown.expect(WebApplicationException.class);
	VXKmsKey vxKeyAct = keyREST.createKey(provider, vxKeyExp);
	Mockito.verify(restErrorUtil).createRESTException(Mockito.anyString(), (MessageEnums) Mockito.any());
	Assert.assertNull(vxKeyAct);
}