package dk.itu.kelvin.util;

/**
 * Created by djohan on 12/05/15.
 */
public class StringPoolTest {
}

@@ -1,103 +1,564 @@
-package dk.itu.kelvin.util;%0A%0A/**%0A * Created by djohan on 12/05/15.%0A */%0Apublic class StringPoolTest %7B
+/**%0A * Copyright (C) 2015 The Authors.%0A */%0Apackage dk.itu.kelvin.util;%0A%0A// JUnit annotations%0Aimport org.junit.Test;%0A%0A// JUnit assertions%0Aimport static org.junit.Assert.assertEquals;%0Aimport static org.junit.Assert.assertNull;%0A%0A/**%0A * Testing the stringpool class.%0A */%0Apublic class StringPoolTest %7B%0A  /**%0A   * Testing get method with string, empty string and null string.%0A   */%0A  @Test%0A  public void testGet() %7B%0A    StringPool sp = new StringPool();%0A%0A    assertEquals(sp.get(%22James%22), %22James%22);%0A    assertEquals(sp.get(%22%22), %22%22);%0A    assertNull(sp.get(null));%0A  %7D%0A
 %0A%7D%0A

Test of stringpool.