public void AddGenre_GetsInvalidItem_ReturnsStatusCodeBadRequest() { // Arrange _mockGenre.Setup(a => a.GetAll(false)).Returns(new List <GenreDTO>()).Verifiable(); // Act var res = _controller.New(); // Assert Assert.AreEqual(typeof(ViewResult), res.GetType()); }