예제 #1
0
  @Test
  public void testGet() {

    Attr attr = attributes.get("rankdir");
    assertEquals("rankdir", attr.name());
    assertEquals(null, attr.value());
  }
예제 #2
0
 @Test
 public void testGetWithValue() {
   attributes.get("rankdir").value("#999");
   Attr attr = attributes.get("rankdir");
   assertEquals("#999", attr.value().toString());
 }