@@ -0,0 +1,1803 @@
+package com.github.ferstl.depgraph.graph.style;%0A%0Aimport org.junit.Before;%0Aimport org.junit.Test;%0Aimport com.github.ferstl.depgraph.dot.AttributeBuilder;%0Aimport static org.junit.Assert.assertEquals;%0A%0A%0Apublic class FontTest %7B%0A%0A  private Font font;%0A  private Font emptyFont;%0A%0A  @Before%0A  public void before() %7B%0A    this.font = new Font();%0A    this.font.color = %22blue%22;%0A    this.font.size = 10;%0A    this.font.name = %22Courier%22;%0A%0A    this.emptyFont = new Font();%0A  %7D%0A%0A  @Test%0A  public void setAttributes() %7B%0A    // arrange%0A    AttributeBuilder builder = new AttributeBuilder();%0A%0A    // act%0A    this.font.setAttributes(builder);%0A%0A    // assert%0A    assertEquals(%22%5Bfontcolor=%5C%22blue%5C%22,fontsize=%5C%2210%5C%22,fontname=%5C%22Courier%5C%22%5D%22, builder.toString());%0A  %7D%0A%0A  @Test%0A  public void setAttributesEmpty() %7B%0A    AttributeBuilder builder = new AttributeBuilder();%0A%0A    // act%0A    this.emptyFont.setAttributes(builder);%0A%0A    // assert%0A    assertEquals(%22%22, builder.toString());%0A  %7D%0A%0A  @Test%0A  public void mergeFullToFull() %7B%0A    // arrange%0A    Font other = new Font();%0A    other.color = %22red%22;%0A    other.size = 12;%0A    other.name = %22Sans%22;%0A%0A    // act%0A    this.font.merge(other);%0A%0A    // assert%0A    assertEquals(%22red%22, this.font.color);%0A    assertEquals((Integer) 12, this.font.size);%0A    assertEquals(%22Sans%22, this.font.name);%0A  %7D%0A%0A  @Test%0A  public void mergeEmptyToFull() %7B%0A    // act%0A    this.font.merge(this.emptyFont);%0A%0A    // assert%0A    assertEquals(%22blue%22, this.font.color);%0A    assertEquals((Integer) 10, this.font.size);%0A    assertEquals(%22Courier%22, this.font.name);%0A  %7D%0A%0A  @Test%0A  public void mergeFullToEmpty() %7B%0A    // act%0A    this.emptyFont.merge(this.font);%0A%0A    // assert%0A    assertEquals(%22blue%22, this.font.color);%0A    assertEquals((Integer) 10, this.font.size);%0A    assertEquals(%22Courier%22, this.font.name);%0A  %7D%0A%0A%7D%0A

Add test for Font