Exemple #1
0
        public void EditAppointmentTest()
        {
            var storage = MockRepository.GenerateMock <IStorage>();

            storage.Expect(s => s.UpdateAppointment(appointment));

            storage.Replay();

            var storageStore = new StorageStore(storage);

            storageStore.EditAppointment(null, appointment);

            storage.VerifyAllExpectations();
        }