@Test public void testSetName() throws Exception { config.setName("Spine-R1"); assertTrue(config.name().isPresent()); assertThat(config.name().get(), is("Spine-R1")); }
@Test public void testName() throws Exception { assertTrue(config.name().isPresent()); assertThat(config.name().get(), is("Leaf-R1")); }