@@ -0,0 +1,889 @@
+package name.valery1707.kazPersonId;%0A%0Aimport org.junit.Test;%0A%0Aimport static com.google.common.truth.Truth.assertThat;%0A%0Apublic class BasePersonIdTest %7B%0A%0A%09@Test%0A%09public void testIsValid() throws Exception %7B%0A%09%09BasePersonId id;%0A%0A%09%09id = new JuridicalPersonId(null);%0A%09%09assertThat(id.isValidPattern()).isFalse();%0A%09%09assertThat(id.isValidCRC()).isFalse();%0A%09%09assertThat(id.isValid()).isFalse();%0A%0A%09%09id = new JuridicalPersonId(%22%22);%0A%09%09assertThat(id.isValidPattern()).isFalse();%0A%09%09assertThat(id.isValidCRC()).isFalse();%0A%09%09assertThat(id.isValid()).isFalse();%0A%0A%09%09id = new JuridicalPersonId(%220123456789AB%22);%0A%09%09assertThat(id.isValidPattern()).isFalse();%0A%09%09assertThat(id.isValidCRC()).isFalse();%0A%09%09assertThat(id.isValid()).isFalse();%0A%0A%09%09id = new JuridicalPersonId(%22940140000380%22);%0A%09%09assertThat(id.isValidPattern()).isTrue();%0A%09%09assertThat(id.isValidCRC()).isFalse();%0A%09%09assertThat(id.isValid()).isFalse();%0A%09%7D%0A%7D

Test BasePersonId#isValid()