package io.github.plastix.forage.util;

public class PermissionUtilsTest {
}

@@ -37,41 +37,1797 @@
 l;%0A%0A
-public class PermissionUtilsTest %7B
+import org.junit.Test;%0A%0Aimport static com.google.common.truth.Truth.assertThat;%0A%0Apublic class PermissionUtilsTest %7B%0A%0A    @Test%0A    public void isPermissionRequestCancelled_shouldBeCancelled() %7B%0A        assertThat(PermissionUtils.isPermissionRequestCancelled(new int%5B%5D%7B%7D)).isTrue();%0A    %7D%0A%0A    @Test%0A    public void isPermissionRequestCancelled_isNotCancelled() %7B%0A        assertThat(PermissionUtils.isPermissionRequestCancelled(new int%5B%5D%7B-1, -1%7D)).isFalse();%0A        assertThat(PermissionUtils.isPermissionRequestCancelled(new int%5B%5D%7B0, 0%7D)).isFalse();%0A        assertThat(PermissionUtils.isPermissionRequestCancelled(new int%5B%5D%7B0, -1%7D)).isFalse();%0A        assertThat(PermissionUtils.isPermissionRequestCancelled(new int%5B%5D%7B-1, 0%7D)).isFalse();%0A        assertThat(PermissionUtils.isPermissionRequestCancelled(new int%5B%5D%7B-1%7D)).isFalse();%0A        assertThat(PermissionUtils.isPermissionRequestCancelled(new int%5B%5D%7B0%7D)).isFalse();%0A%0A%0A    %7D%0A%0A    @Test%0A    public void hasAllPermissionsGranted_allGranted() %7B%0A        assertThat(PermissionUtils.hasAllPermissionsGranted(new int%5B%5D%7B0%7D)).isTrue();%0A        assertThat(PermissionUtils.hasAllPermissionsGranted(new int%5B%5D%7B0, 0%7D)).isTrue();%0A        assertThat(PermissionUtils.hasAllPermissionsGranted(new int%5B%5D%7B0, 0, 0%7D)).isTrue();%0A    %7D%0A%0A%0A    @Test%0A    public void hasAllPermissionsGranted_notAllGranted() %7B%0A        assertThat(PermissionUtils.hasAllPermissionsGranted(new int%5B%5D%7B%7D)).isFalse();%0A        assertThat(PermissionUtils.hasAllPermissionsGranted(new int%5B%5D%7B-1%7D)).isFalse();%0A        assertThat(PermissionUtils.hasAllPermissionsGranted(new int%5B%5D%7B0, -1%7D)).isFalse();%0A        assertThat(PermissionUtils.hasAllPermissionsGranted(new int%5B%5D%7B0, -1, 0%7D)).isFalse();%0A        assertThat(PermissionUtils.hasAllPermissionsGranted(new int%5B%5D%7B-1, -1, 0%7D)).isFalse();%0A    %7D
 %0A%7D%0A

Add a few PermissionUtils unit tests