package com.alexrnl.jbetaseries.request.parameters;

import static org.junit.Assert.assertEquals;

import org.junit.Before;
import org.junit.Test;

/**
 * Test suite for the {@link Find} class.
 * @author Alex
 */
public class FindTest {
	/** The find parameter to test */
	private Find emailToFind;
	
	/**
	 * Set up test parameters.
	 */
	@Before
	public void setUp () {
		emailToFind = new Find("ldr@google.fr");
	}
	
	/**
	 * Test method for {@link com.alexrnl.jbetaseries.request.parameters.Parameter#getName()}.
	 */
	@Test
	public void testGetName () {
		assertEquals(emailToFind.getName(), "find");
	}
	
	/**
	 * Test method for {@link com.alexrnl.jbetaseries.request.parameters.Parameter#getValue()}.
	 */
	@Test
	public void testGetValue () {
		assertEquals(emailToFind.getValue(), "ldr@google.fr");
	}
}

@@ -560,32 +560,40 @@
 %0A%09%09assertEquals(
+%22find%22, 
 emailToFind.getN
@@ -601,16 +601,8 @@
 me()
-, %22find%22
 );%0A%09
@@ -761,16 +761,33 @@
 tEquals(
+%22ldr@google.fr%22, 
 emailToF
@@ -804,25 +804,8 @@
 ue()
-, %22ldr@google.fr%22
 );%0A%09

Fix JUnit calls in FindTest