Exemple #1
0
 public void ProviderServiceInstanceShouldReturnTheInstanceSet()
 {
     // If this test fails most other tests would too since this
     // defines our mocking for the Service provider.
     PlatformServiceProvider.Instance = new TestablePlatformServiceProvider();
     Assert.IsInstanceOfType(PlatformServiceProvider.Instance, typeof(TestablePlatformServiceProvider));
 }
Exemple #2
0
 public void ReflectionOperationsShouldReturnAValidInstance()
 {
     Assert.IsInstanceOfType(PlatformServiceProvider.Instance.ReflectionOperations, typeof(ReflectionOperations));
 }
Exemple #3
0
 public void TestSourceShouldReturnAValidTestSource()
 {
     Assert.IsInstanceOfType(PlatformServiceProvider.Instance.TestSource, typeof(TestSource));
 }
Exemple #4
0
 public void ProviderServiceInstanceShouldReturnAnObjectOfItselfByDefault()
 {
     Assert.IsInstanceOfType(PlatformServiceProvider.Instance, typeof(PlatformServiceProvider));
 }