KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
Why does this simple assert statement fail? From what I've read I should be . Unfortunately, since the functionality is so basic there isn't much information out there. public interface IDummy{} public class Dummy : IDummy {} Assert.IsAssignableFrom<IDummy>(new Dummy()); Running this test yields Expected: assignable from <Application.Tests.ViewModels.IDummy> But was: <Application.Tests.ViewModels.Dummy> I have tried swapping the interface and objects side to no avail.
Tags (comma-separated)
Save Edits
Cancel