package com.sibisoft.faizaniftikhartdd;

import static org.junit.Assert.*;

import org.junit.Test;

public class DollarEquality {

	@Test
	public void testEquality() 
	{
		assertTrue(new Dollar(5).equals(new Dollar(5)));
	}

}

package com.sibisoft.faizaniftikhartdd;

import static org.junit.Assert.*;

import org.junit.Test;

public class DollarEquality {

	@Test
	public void testEquality() 
	{
		assertTrue(new Dollar(5).equals(new Dollar(5)));
		assertFalse(new Dollar(5).equals(new Dollar(6)));
	}

}

Add another condition in test case where it fails due to fake implementation in equals method
Add another condition in test case where it fails due to fake
implementation in equals method