1 /* 2 * SPDX-FileCopyrightText: Copyright (c) 2012-2025 Yegor Bugayenko 3 * SPDX-License-Identifier: MIT 4 */ 5 package com.jcabi.xml; 6 7 import org.hamcrest.MatcherAssert; 8 import org.hamcrest.Matchers; 9 import org.junit.jupiter.api.Test; 10 11 /** 12 * Test of ClasspathSources. 13 * @since 0.18 14 */ 15 final class ClasspathSourcesTest { 16 17 @Test 18 void sourcesResolvedFromBase() throws Exception { 19 MatcherAssert.assertThat( 20 "Resolved classpath source was not present, but it should be", 21 new ClasspathSources().resolve("simple.xml", "com.jcabi.xml."), 22 Matchers.notNullValue() 23 ); 24 } 25 }