public void DataTypedDnsRecord_EnsureIsDataType_NoException(DnsRecordType dnsRecordType) { Action act = () => dnsRecordType.EnsureIsDataType(); act.Should().NotThrow(); }
public void NotDataTypedDnsRecord_EnsureIsDataType_NotSupportedException(DnsRecordType dnsRecordType) { Action act = () => dnsRecordType.EnsureIsDataType(); act.Should().Throw <NotSupportedException>(); }