public void ShouldReturnTextFieldInfo(IdBasedFieldGenerator sut, ID id) { sut.Build(id).Type.Should().Be("text"); }
public void ShouldReturnFieldInfoWithNameFromId(IdBasedFieldGenerator sut, ID id) { sut.Build(id).Name.Should().Be(id.ToShortID().ToString()); }
public void ShouldReturnNotSharedFieldInfo(IdBasedFieldGenerator sut, ID id) { sut.Build(id).Shared.Should().BeFalse(); }
public void ShouldReturnEmptyInfoIfRequestIsNotString(IdBasedFieldGenerator sut, object request) { sut.Build(request).Should().Be(FieldInfo.Empty); }
public void ShouldReturnFieldInfoWithSpecifiedId(IdBasedFieldGenerator sut, ID id) { sut.Build(id).Id.Should().Be(id); }
public void ShouldReturnEmptyInfoIfRequestIsIdNull(IdBasedFieldGenerator sut) { sut.Build(ID.Null).Should().Be(FieldInfo.Empty); }