Exemplo n.º 1
0
        public void CheckMessageReturnsCorrectErrorGivenInvalidName(string givenName)
        {
            ScoutEphemerisDataService _scoutService = new ScoutEphemerisDataService(givenName, _date);

            Assert.That(_scoutService.dto.LatestScoutEphemeris.error, Is.EqualTo("specified object does not exist"));
        }
Exemplo n.º 2
0
        public void CheckMessageReturnsCorrectErrorGivenInvalidDate(string givenDate, string expected)
        {
            ScoutEphemerisDataService _scoutService = new ScoutEphemerisDataService(_name, givenDate);

            Assert.That(_scoutService.dto.LatestScoutEphemeris.message, Is.EqualTo(expected));
        }