@Test public void should_remove_property() { beanVertex.setProperty("color", "red"); beanVertex.setProperty("code", 123); beanVertex.setProperty("alive", true); beanVertex.removeProperty("color"); beanVertex.removeProperty("code"); beanVertex.removeProperty("alive"); beanVertex.removeProperty("other"); assertThat(beanVertex.getProperty("color")).isNull(); assertThat(beanVertex.getProperty("code")).isNull(); assertThat(beanVertex.getProperty("alive")).isNull(); assertThat(beanVertex.getPropertyKeys()).isEmpty(); }