Esempio n. 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));
 }
Esempio n. 2
0
 public void ReflectionOperationsShouldReturnAValidInstance()
 {
     Assert.IsInstanceOfType(PlatformServiceProvider.Instance.ReflectionOperations, typeof(ReflectionOperations));
 }
Esempio n. 3
0
 public void TestSourceShouldReturnAValidTestSource()
 {
     Assert.IsInstanceOfType(PlatformServiceProvider.Instance.TestSource, typeof(TestSource));
 }
Esempio n. 4
0
 public void ProviderServiceInstanceShouldReturnAnObjectOfItselfByDefault()
 {
     Assert.IsInstanceOfType(PlatformServiceProvider.Instance, typeof(PlatformServiceProvider));
 }