@Test
public void toModel() throws Exception {
WSUtils.setInstance(new JdkUtils());
List<Plugin> plugins = new PluginUnmarshaller().toModels(loadFile("/plugins/plugins.json"));
Plugin plugin = plugins.get(0);
assertThat(plugin.getKey(), is("foo"));
assertThat(plugin.getName(), is("Foo"));
assertThat(plugin.getVersion(), is("1.0"));
}