Sunday, June 22, 2014

ServiceImpl Test



import com.rest.outh.model.Client;
import com.rest.service.IService;


@RunWith(SpringJUnit4ClassRunner.class)
@ContextConfiguration(locations = "file:src/main/resources/META-INF/spring/applicationContext.xml")


public class PersistenceCheck extends AbstractJUnit4SpringContextTests {
@Autowired
private IService service;

private Client client = new Client();

@Test
public void clientAppRegistration() {
service.signupApplication(client);

}

}

No comments:

Post a Comment