public void Repository_Clear_Test() { var repository = new TestRepository(); repository.Add("Test", new object()); repository.Clear(); repository.Count.Should().Be(0); }