@Test(expected = ConfigurationException.class)
public void resourceConfigureFailure() throws ConfigurationException {

    resource.configure("NiciraNvpResource", Collections.<String, Object> emptyMap());
}