public void Should_hold_cabinet()
 {
     var mgr = new Manager();
     var cabinet = new Cabinet(1);
     mgr.Add(cabinet);
     Assert.IsTrue(mgr.HasEmptyBox());
 }
 public void Should_store_bag_when_has_empty_cabinet()
 {
     var mgr = new Manager();
     var cabinet = new Cabinet(1);
     var bag = new Bag();
     mgr.Add(cabinet);
     mgr.Store(bag);
     Assert.IsFalse(mgr.HasEmptyBox());
 }
        public void TestManagerShouldHaveEmptyBoxGivenManagerHasOneCabinet()
        {
            var manager = new Manager();
            manager.Add(new Cabinet());

            Assert.IsTrue(manager.HasEmptyBox());
        }
        public void TestManagerShouldHaveEmptyBoxGivenManagerHasOneRobotAndOneCabinet()
        {
            var manager = new Manager();
            var robot = new Robot();
            var cabinet = new Cabinet();
            robot.Add(cabinet);
            manager.Add(robot);

            Assert.IsTrue(manager.HasEmptyBox());
        }