public void arrayResult1() throws Exception {
String resultString = "{\"outcome\":\"success\",\"result\":[\"standard-sockets\",\"messaging-sockets\"],\"response-headers\":null, \"rolled-back\" : false}";
ObjectMapper mapper = new ObjectMapper();
Result result = mapper.readValue(resultString, Result.class);
assertNotSame(result, null);
assertEquals(result.getOutcome(), "success");
assertTrue(result.isSuccess());
@SuppressWarnings("unchecked")
List<String> stringList = (List<String>) result.getResult();
assertSame(stringList.size(), 2);
assertEquals(stringList.get(0), "standard-sockets");
assertEquals(stringList.get(1), "messaging-sockets");
assertFalse(result.isRolledBack());
}