예제 #1
0
        public void GetCollection_WhenIsNotInStrategy_ThenThrow()
        {
            //Arrange & Act & Assert
            Action act = () => CollectionDiscover.GetCollection <string>();

            act.Should().Throw <Exception>();
        }
예제 #2
0
 public void GetCollection_WhenIsInStrategy_ThenReturnCorrectCollection()
 {
     //Arrange & Act & Assert
     CollectionDiscover.GetCollection <Leaderboard>().Should().Be("leaderboard");
 }