Test Case for Spring Boot gh-1927 issue