Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
Tags
- springboot
- BubbleSorting
- 점세개
- setParameter
- @ModelAttribute
- 10844
- Linux
- designpattern
- @Spring
- pscp
- NamedParameterNotBound
- @NotEmpty
- 여러인수
- Spring
- junit
- 백준
- createQuery
- 숫자야구
- 디자인패턴
- 자료구조
- 쉬운 계단 수
- 전치행렬 #C
- 자바
- decorator
- 데코레이터패턴
- 10951
- java
- mycp
- gradle
- C
Archives
- Today
- Total
...
[IntelliJ/JAVA] static import 단축키 본문
@Test
@DisplayName("싱글톤 패턴을 적용한 객체 사용")
public void singletonServiceTest(){
SingletonService singletonService1 = SingletonService.getInstance();
SingletonService singletonService2 = SingletonService.getInstance();
System.out.println("singletonService1 = " + singletonService1);
System.out.println("singletonService2 = " + singletonService2);
Assertions.assertThat(singletonService1).isSameAs(singletonService2);
}
assertThat에서 alt + Enter 입력
-> add static import for ' ' 선택
'이것저것' 카테고리의 다른 글
Git : Commit Type 정리 (0) | 2022.07.25 |
---|---|
Git 수정 파일 업로드 방법 (0) | 2022.05.20 |
[리눅스 putty] 쁘띠 pscp 명령어로 리눅스 > 윈도우 파일 전송하기 (0) | 2021.11.13 |
[C언어] 식에 구조체 또는 공용체 형식이 있어야 합니다. (0) | 2021.11.12 |
Git 에 소스 코드 올리기 (0) | 2021.11.03 |
Comments