public void DetermineResourceKeyBehaviorTestString() { var expected = ResourceSelectorBehavior.ValueAsKey; var testee = new ResourceSelector(); var actual = ResourceSelector.DetermineResourceKeyBehavior("test"); Assert.AreEqual(expected, actual); }
public void DetermineResourceKeyBehaviorTestIProvideResourceKey() { var expected = ResourceSelectorBehavior.ValueAsKey; var testee = new ResourceSelector(); var actual = ResourceSelector.DetermineResourceKeyBehavior(new TestImplementor()); Assert.AreEqual(expected, actual); }
public void DetermineResourceKeyBehaviorTestDateTime() { var expected = ResourceSelectorBehavior.ValueAsKey; var testee = new ResourceSelector(); var actual = ResourceSelector.DetermineResourceKeyBehavior(DateTime.Now); Assert.AreEqual(expected, actual); }
public void DetermineResourceKeyBehaviorTestEnum() { var expected = ResourceSelectorBehavior.ValueAsKey; var testee = new ResourceSelector(); var actual = ResourceSelector.DetermineResourceKeyBehavior(TestEnum.FirstValue); Assert.AreEqual(expected, actual); }
public void DetermineResourceKeyBehaviorTestCustomType() { var expected = ResourceSelectorBehavior.ValueTypeAsKey; var testee = new ResourceSelector(); var actual = ResourceSelector.DetermineResourceKeyBehavior(new CustomType()); Assert.AreEqual(expected, actual); }