*/
public class WebFormsEndpointGeneratorTests {
@Test
public void testBasic() {
EndpointGenerator endpointGenerator = new WebFormsEndpointGenerator(new File(TestConstants.WEB_FORMS_SAMPLE));
List<Endpoint> endpoints = endpointGenerator.generateEndpoints();
assert !endpoints.isEmpty() : "Got empty endpoints for " + TestConstants.WEB_FORMS_SAMPLE;
Set<String> parameters = endpoints.get(0).getParameters();
assert parameters.contains("newitem") :
"Parameters didn't contain newitem: " + parameters;