public void FormView_IsBindableType () { bool isBindable = false; PokerDetailsView dv = new PokerDetailsView (); isBindable = dv.IsBindableType (typeof (Decimal)); Assert.AreEqual (true, isBindable, "IsBindableTypeDecimal"); isBindable = dv.IsBindableType (typeof (Int32)); Assert.AreEqual (true, isBindable, "IsBindableTypeInt32"); isBindable = dv.IsBindableType (typeof (String)); Assert.AreEqual (true, isBindable, "IsBindableTypeString"); isBindable = dv.IsBindableType (typeof (Boolean)); Assert.AreEqual (true, isBindable, "IsBindableTypeBoolean"); isBindable = dv.IsBindableType (typeof (DateTime)); Assert.AreEqual (true, isBindable, "IsBindableTypeDateTime"); isBindable = dv.IsBindableType (typeof (Byte)); Assert.AreEqual (true, isBindable, "IsBindableTypeByte"); isBindable = dv.IsBindableType (typeof (Guid)); Assert.AreEqual (true, isBindable, "IsBindableTypeGuid"); isBindable = dv.IsBindableType (typeof (DTemplate)); Assert.AreEqual (false, isBindable, "IsBindableTypeMyTemplate"); }