public void rootObject_should_be_retrieved_from_database() { var apiKeyType = 1; var apiEndPoint = _apiEndPointRepository.GetEndPoint(apiKeyType); Assert.IsNotNull(apiEndPoint); Assert.IsTrue(apiEndPoint.Id > 0); }
public ApiEndpoint GetEndPoint(int apiKeyType) { return(_apiEndPointRepository.GetEndPoint(apiKeyType)); }