public virtual void test_of_validated_invalid() { assertThrowsIllegalArg(() => SampleValidatedType.of(null)); assertThrowsIllegalArg(() => SampleValidatedType.of("ABc")); }
public virtual void test_of_validated() { SampleValidatedType test = SampleValidatedType.of("ABC"); assertEquals(test.ToString(), "ABC"); }