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

public class WordTest {

  @Test
  public void Word_instantiatesCorrectly_true() {
    Word testWord = new Word ("lugubrious");
    assertEquals(true, testWord instanceof Word);
  }

  @Test
  public void getWord_returnsWord_true() {
    Word testWord = new Word ("mendacious");
    assertEquals(true, testWord instanceof Word);
  }

  @Test
  public void getId_returnsIdOfWord() {
    Word testWord = new Word ("bunt");
    assertTrue(testWord.all().size() == testWord.getId());
  }

  @Test
  public void getDefinitions_initiallyReturnsEmptyArrayList() {
    Word testWord = new Word("laudable");
    assertTrue(testWord.getDefinitions() instanceof ArrayList);
  }

  @Test
  public void addDefinition_addsADefinitionToArrayList() {
    Word testWord = new Word("petty");
    Definition testDefinition = new Definition("trivial, trifling");
    testWord.addDefinition(testDefinition);
    assertTrue(testWord.getDefinitions().contains(testDefinition));
  }
  
    // @Test
    // public void all_returnsAllInstancesofWord
}

@@ -1031,17 +1031,12 @@
   %7D%0A
-  
 %0A   
- //
  @Te
@@ -1045,11 +1045,8 @@
 %0A   
- //
  pub
@@ -1083,11 +1083,212 @@
 esofWord
+_true() %7B%0A      Word firstWord = new Word(%22Black%22);%0A      Word secondWord = new Word(%22Adder%22);%0A      assertTrue(Word.all().contains(firstWord));%0A      assertTrue(Word.all().contains(secondWord));%0A    %7D
 %0A%7D%0A

return all instances of Word from an ArrayList