Example #1
0
        public void CreateProvider_OnGoogle_ReturnsGoogleAuthentication()
        {
            // ARRANGE
            AuthenticationFactory factory = new AuthenticationFactory();

            // ACT
            IOAuthProvider provider = factory.CreateProvider(AuthenticationProvider.Google);

            // ASSERT
            provider.Should().BeOfType(typeof(GoogleAuthentication));
        }