use of jetbrains.buildServer.server.graphql.model.connections.BuildTypesConnection in project teamcity-rest by JetBrains.
the class ProjectResolverTest method testBuildTypes.
@Test
public void testBuildTypes() throws Exception {
BuildTypesConnection buildTypes = myResolver.buildTypes(new Project(mySubProject), null, null, myDataFetchingEnvironment);
assertEquals(2, buildTypes.getCount());
assertExtensibleEdges(buildTypes.getEdges().getData(), new BuildType(myBuildType1), new BuildType(myBuildType2));
}
Aggregations