예제 #1
0
        public void should_get_all_type_of_ants()
        {
            _getter.Get();

            _repository.Received(1).Get();
        }
예제 #2
0
        public void should_create_new_type_of_ants()
        {
            _creator.Create("Warrior");

            _repository.Received(1).Create(Arg.Is <AntType>(a => a.Type == "Warrior"));
        }