/** Test of setTeamLogo method, of class Teams. */ @Test public void testSetTeamLogo() { System.out.println("setTeamLogo"); String expResult = "http://www.senecacollege.ca"; valid.setTeamLogo(expResult); String result = valid.getTeamLogo(); assertEquals(expResult, result); }
@Before public void setUp() { valid = new Teams(); valid.setHasRegistered(0); valid.setTeamConstraints("JAVA, MYSQL, GLASSFISH, JSP"); valid.setTeamDescription("Sample description for the team"); valid.setTeamEmail("[email protected];[email protected]"); valid.setTeamLogo("http://www.senecacollege.ca"); valid.setTeamName("PRJ666 Team"); valid.setTeamStatus(0); }