@Test public void shouldNotReturnScissorsName() { Rock mockRock = new Rock(); mockRock.setName("falseRockName"); assertNotSame(mockRock.getName(), this.rockName); assertFalse(mockRock.getName() == this.rockName); }
@Test public void shouldReturnRockName() { Rock mockRock = new Rock(); mockRock.setName(rockName); assertEquals(mockRock.getName(), this.rockName); assertTrue(mockRock.getName() == this.rockName); }