public void CreateThrowsExceptionWithNullTypeTest() { var buildChain = new LinkedList<object>(); var target = new DefaultTypeCreator(); Action action = () => target.Create(null, "Name", buildChain); action.ShouldThrow<ArgumentNullException>(); }