Beispiel #1
0
        public void GetGuid()
        {
            String guid;

            using (DataReader dataReader = DataServerTest.GetSpeciesObservationsDataReader(GetContext()))
            {
                while (dataReader.Read())
                {
                    guid = WebSpeciesObservation.GetGuid(dataReader);
                    Assert.IsTrue(guid.IsNotEmpty());
                }
            }
        }
Beispiel #2
0
        public void Constructor()
        {
            WebSpeciesObservation speciesObservation;

            using (DataReader dataReader = DataServerTest.GetSpeciesObservationsDataReader(GetContext()))
            {
                while (dataReader.Read())
                {
                    speciesObservation = new WebSpeciesObservation(dataReader);
                    Assert.IsNotNull(speciesObservation);
                }
            }
        }