public void Get_NotFound_BuildingNotExists() { var buildingId = new BuildingId(12); _buildingRepository.Get(buildingId).ReturnsNull(); var response = _buildingsController.Get(buildingId.Value); Assert.That(response, Is.TypeOf <NotFoundResult>()); }
public void Get_NotFound_BuildingNotExists() { var buildingId = new BuildingId(12); _buildingRepository.Get(buildingId).ReturnsNull(); var response = _buildingsController.Get(buildingId.Value); Assert.That(response, Is.TypeOf <NotFoundResult>()); }