package com.github.bot.curiosone.core.extraction;

public class BrainResponseTest {

  @Test
  public void testInstantiation() {
    assertTrue(new BrainResponse("Text", "Scope") instanceof BrainResponse);
  }
}

@@ -44,16 +44,114 @@
 ction;%0A%0A
+// SUPPRESS CHECKSTYLE AvoidStarImport%0Aimport static org.junit.Assert.*;%0A%0Aimport org.junit.Test;%0A%0A
 public c
@@ -300,11 +300,1203 @@
 se);%0A  %7D
+%0A%0A  @Test%0A  public void testGetMessage() %7B%0A    assertEquals(%22This is the message!%22,%0A        new BrainResponse(%22This is the message!%22, %22This is the scope%22)%0A            .getMessage());%0A  %7D%0A%0A  @Test%0A  public void testGetScope() %7B%0A    assertEquals(%22This is the scope%22,%0A        new BrainResponse(%22This is the message!%22, %22This is the scope%22)%0A            .getScope());%0A  %7D%0A%0A  @Test%0A  public void testToString() %7B%0A    assertEquals(%22Text(Scope)%22, new BrainResponse(%22Text%22, %22Scope%22).toString());%0A  %7D%0A%0A  @Test%0A  public void testEquals() %7B%0A    BrainResponse br = new BrainResponse(%22Text%22, %22Scope%22);%0A    assertTrue(br.equals(br));%0A    assertFalse(br.equals(null));%0A    assertFalse(br.equals(new Integer(42)));%0A    BrainResponse brr = new BrainResponse(%22Text%22, %22Scope%22);%0A    assertTrue(br.equals(brr));%0A    brr = new BrainResponse(%22text%22, %22scope%22);%0A    assertFalse(br.equals(brr));%0A  %7D%0A%0A  @Test%0A  public void testHashCode() %7B%0A    assertEquals(new BrainResponse(%22Happy%22, %22Scope.of(Happy)%22).hashCode(),%0A        new BrainResponse(%22Happy%22, %22Scope.of(Happy)%22).hashCode());%0A%0A    assertNotEquals(new BrainResponse(%22Different%22, %22BrainResponse%22).hashCode(),%0A        new BrainResponse(%22Test%22, %22hashCode Scope%22));%0A  %7D
 %0A%7D%0A

improve BrainResponseTest