Created
October 24, 2010 17:46
-
-
Save thesurlydev/643714 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class SearchTest extends AppTransactionalStrutsTestCase { | |
private static final String BOND_NAME = "ACE 2006-ASP6 A2C"; | |
@Override | |
protected void setupAction() throws DataAccessException { | |
} | |
@Test | |
public void testSearchByBondName() throws Exception { | |
request.addParameter("searchRequest.bondName", BOND_NAME); | |
ActionProxy proxy = initActionProxy("/trader/searchPostBack!postBack.action"); | |
Assert.assertEquals(Action.INPUT, proxy.execute()); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment