@@ -0,0 +1,2471 @@
+/*%0A * Copyright 2020, TeamDev. All rights reserved.%0A *%0A * Licensed under the Apache License, Version 2.0 (the %22License%22);%0A * you may not use this file except in compliance with the License.%0A * You may obtain a copy of the License at%0A *%0A * http://www.apache.org/licenses/LICENSE-2.0%0A *%0A * Redistribution and use in source and/or binary forms, with or without%0A * modification, must retain the above copyright notice and the following%0A * disclaimer.%0A *%0A * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS%0A * %22AS IS%22 AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT%0A * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR%0A * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT%0A * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,%0A * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT%0A * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,%0A * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY%0A * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT%0A * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE%0A * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.%0A */%0A%0Apackage io.spine.dart;%0A%0Aimport io.spine.testing.UtilityClassTest;%0Aimport org.junit.jupiter.api.DisplayName;%0Aimport org.junit.jupiter.api.Test;%0Aimport org.junit.jupiter.api.condition.DisabledOnOs;%0Aimport org.junit.jupiter.api.condition.EnabledOnOs;%0Aimport org.junit.jupiter.api.condition.OS;%0A%0Aimport java.nio.file.Path;%0A%0Aimport static com.google.common.truth.Truth.assertThat;%0Aimport static com.google.common.truth.Truth8.assertThat;%0Aimport static java.nio.file.Files.exists;%0Aimport static org.junit.jupiter.api.condition.OS.WINDOWS;%0A%0A@DisplayName(%22%60PubCache%60 should%22)%0Aclass PubCacheTest extends UtilityClassTest%3CPubCache%3E %7B%0A%0A    PubCacheTest() %7B%0A        super(PubCache.class);%0A    %7D%0A%0A    @Test%0A    @DisplayName(%22produce a non-empty path on *nix systems%22)%0A    @DisabledOnOs(WINDOWS)%0A    void nix() %7B%0A        Path bin = PubCache.bin();%0A        assertThat(bin)%0A                .isNotNull();%0A        assertThat(exists(bin))%0A                .isTrue();%0A    %7D%0A%0A%0A    @Test%0A    @DisplayName(%22produce a non-empty path on Windows systems%22)%0A    @EnabledOnOs(WINDOWS)%0A    void win() %7B%0A        Path bin = PubCache.bin();%0A        assertThat(bin)%0A                .isNotNull();%0A        assertThat(exists(bin))%0A                .isTrue();%0A    %7D%0A%7D%0A

Add tests for `PubCache`