Proxy pattern
** 출처 * Printable interface, Printer class, PrinterProxy class * => [java 언어로 배우는 디자인패턴 입문 / yuki hiroshi / 영진닷컴]에서 발췌한 것에 주석을 단 것입니다. */ 목차 - proxy pattern class diagram - ProxyPatternTest (test code) - Printable interface - Printer class - PrinterProxy class =============================================================================== proxy pattern class diagram =============================================================================== =============================================================================== ProxyPatternTest =============================================================================== package com.hdju.patterns; import static org.junit.Assert.*; import static org.hamcrest.CoreMatchers.*; import org.junit.Before; import org.junit.Test; public class ProxyPatternTest { private String printer1; private String printer2; private String pr...