List of usage examples for org.springframework.boot.cli.command.init ProjectGenerationResponse getContentType
ContentType getContentType()
From source file:org.springframework.boot.cli.command.init.InitializrServiceTests.java
private static void assertProjectEntity(ProjectGenerationResponse entity, String mimeType, String fileName) { if (mimeType == null) { assertThat(entity.getContentType()).isNull(); } else {//from w w w.ja v a 2s. c o m assertThat(entity.getContentType().getMimeType()).isEqualTo(mimeType); } assertThat(entity.getFileName()).isEqualTo(fileName); }