Newer
Older
task-bldg / src / test / java / osm / surveyor / task / plateau / PlateauBeanTest.java
@haya4 haya4 16 days ago 966 bytes Java17 & Spring boot 3.4.1
package osm.surveyor.task.plateau;

import static org.junit.jupiter.api.Assertions.*;

import org.junit.jupiter.api.AfterAll;
import org.junit.jupiter.api.AfterEach;
import org.junit.jupiter.api.BeforeAll;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.DisplayName;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;

@SpringBootTest
class PlateauBeanTest {
	
	@Autowired
    PlateauBean bean;
	
	@BeforeAll
	static void setUpBeforeClass() throws Exception {
	}

	@AfterAll
	static void tearDownAfterClass() throws Exception {
	}

	@BeforeEach
	void setUp() throws Exception {
	}

	@AfterEach
	void tearDown() throws Exception {
	}

	@Test
	@DisplayName("'app.plateau.dir'を読み取れる")
	void testGetPlateauDirName() {
		assertEquals("plateau-data", bean.getPlateauDirName());
		//fail("まだ実装されていません");
	}
}