@Test
public void keyMayBeUnmarshalled() throws MalformedURLException, JAXBException, DeltaCloudClientException {
Key key = new Key();
ByteArrayInputStream inputStream = new ByteArrayInputStream(KeyResponse.keyResponse.getBytes());
new KeyUnmarshaller().unmarshall(inputStream, key);
assertNotNull(key);
assertEquals(KeyResponseFakes.KeyResponse.id, key.getId());
assertEquals(KeyResponse.fingerprint, key.getFingerprint());
assertEquals(new URL(KeyResponse.url), key.getUrl());
assertEquals(KeyResponse.pem, key.getPem());