Beispiel #1
0
        public void EditBuild_EditBuildEntity_RepositoryMethodWasCalled()
        {
            //Arrange
            BuildEntityDTO entityDTO = new BuildEntityDTO();

            //Act
            buildService.EditBuild(entityDTO);

            //Assert
            BuildRepository.Verify(x => x.Update(It.IsAny <BuildEntity>()), "Not called");
        }