@Test
public void shouldDeserializeStorageCapabilitiesV3() {

    JsonParser parser = new JsonParser();
    JsonElement jsonElement = parser.parse(STORAGE_CAPABILITIES_V3);
    StorageCapabilities capabilities = deserializer.deserialize(jsonElement, StorageCapabilities.class, null);
    assertThat(capabilities, is(notNullValue()));
    assertThat(capabilities.getRaidLevels(), containsInAnyOrder(RaidLevel.values()));
    assertThat(capabilities.getControllerModes(), contains(ControllerMode.RAID));
    assertThat(capabilities.getDriveTechnologies(), is(Matchers.<DriveTechnology>empty()));
}