Esempio n. 1
0
        public void GetFamilyFriendly_ShouldOnlyGetFamilyFriendly()
        {
            // Arrange
            // Act
            List <StreamingContent> familyFriendly = _repo.GetFamilyFriendlyContent();

            foreach (StreamingContent content in familyFriendly)
            {
                Assert.IsTrue(content.IsFamilyFriendly);
            }
            Assert.AreEqual(2, familyFriendly.Count);
        }