public void Get_UnitListDto_Test_EmptyParams()
        {
            var repoMock = getGcmlRepository();
            UnitController target = new UnitController(repoMock.Object);
            string campaignId = string.Empty;

            UnitListDto actual;
            actual = target.Get(campaignId);

            Assert.IsNotNull(actual);
            Assert.IsInstanceOfType(actual, typeof(UnitListDto));
            Assert.IsTrue((actual.unitList == null) || (actual.unitList.Count == 0));
        }
        public void Get_UnitListDto_Test_WithCampaign()
        {
            var repoMock = getGcmlRepository();
            UnitController target = new UnitController(repoMock.Object);

            UnitListDto actual = target.Get(_campaignId);

            Assert.IsNotNull(actual);
            Assert.IsInstanceOfType(actual, typeof(UnitListDto));
            _gcmlRepository.Verify(r => r.getCampaignController(_campaignId));
            _mockController.Verify(c => c.Player_getUnitsForPlayer(_testPlayer));
        }
 public void UnitControllerConstructorTest()
 {
     var repoMock = kernel.GetMock<ICampaignRepository>();
     UnitController target = new UnitController(repoMock.Object);
     Assert.IsNotNull(target);
 }