public void TestGetFactoriesSuccess() { //Should find 2 Factories List <FactoryDTO> result = (List <FactoryDTO>)controller.GetFactory(); Assert.True(2 == result.Count); }