public void GetElementFromField_InvalidFieldType_ReturnsNull() { var fld = new FieldInstance("a", "invalid", "blah"); bool custom; bool additional; Assert.IsNull(_serializer.GetElementFromField(fld, out custom, out additional)); Assert.IsFalse(custom); }