import java.util.ArrayList;

import org.junit.*;
import static org.junit.Assert.*;

public class DefinitionTest {

  @Rule
  public ClearRule clearRule = new ClearRule();

  @Test
  public void definition_instantiatesCorrectly_true() {
    Definition testDefinition = new Definition("Sweaters for your feet");
    assertEquals(true, testDefinition instanceof Definition);
  }

  @Test
  public void getMeaning_returnsMeaning_true() {
    Definition testDefinition = new Definition("Sweaters for your feet");
    assertEquals("Sweaters for your feet", testDefinition.getMeaning());
  }

  @Test
  public void getId_returnsDefinitionId_true() {
    Definition testDefinition = new Definition("Sweaters for your feet");
    assertTrue(Definition.all().size() == testDefinition.getId());
  }

  @Test
  public void all_returnsAllInstancesOfDefinition_true() {
    Definition testDefinitionOne = new Definition("Sweaters for your feet");
    Definition testDefinitionTwo = new Definition("A piece of clothing that you wear on your feetsies");
    assertTrue(Definition.all().contains(testDefinitionOne));
    assertTrue(Definition.all().contains(testDefinitionTwo));
  }

}

@@ -1160,10 +1160,224 @@
 );%0A  %7D%0A%0A
+  @Test%0A  public void newId_definitionsInstantiateWithAnID_true() %7B%0A    Definition testDefinition = new Definition(%22Sweaters for your feet%22);%0A    assertEquals(Definition.all().size(), testDefinition.getId());%0A  %7D%0A%0A
 %7D%0A

write and pass test to ensure that Definitions object instantiate with correct Id