public void shouldCreateType() throws Exception {
// GIVEN
InputStream json = getTestDataFromFile("type.json");
// WHEN
Type type = trelloObjFactory.createObject(new TypeToken<Type>(){}, json);
// THEN
assertEquals(TrelloType.ORGANIZATION, type.getType());
json.close();
}