예제 #1
0
        public void CanEditObservations_VisitorCannotEditObservations_ReturnsFalse()
        {
            var observationOperations = new ObservationOperations();

            var result = observationOperations.CanEditRoles("Visitor");

            Assert.AreEqual(false, result);
        }
예제 #2
0
        public void CanEditObservations_UserCanEditObservations_ReturnsTrue()
        {
            var observationOperations = new ObservationOperations();

            var result = observationOperations.CanEditRoles("User");

            Assert.AreEqual(true, result);
        }