Controller ͷςετͰ Service Mock Խ͢Δ • Mock ͬͨՕॴݺΜͩ͜ͱ + Ҿͷ assert Λߦ͏ • Repository ࣮ͷςετ H2 ͬͯɺSQL ͷςετΛߦ͏ • AWS / ֎෦αʔϏεΛҙࣝ͢ΔՕॴແཧʹςετ͠ͳ͍ • AWS ͷ SDK Λ͏ՕॴΛہॴԽ͢Δ • EventPublisher / MessagePolling • Mock αʔόతͳͷΛཱ͍͍͚ͯͯͲɺ࣮ػͰ֬ೝͨ͠ํ͕࣮֬ • AWS / ֎෦αʔϏεΛҙࣝ͢Δͷ class ͷ࣮ଆ • ݺͼग़͠ݩ interface ͚͍ͩͬͯΕྑ͍ • ֎෦αʔϏε͕ Test ϞʔυͰςετͰ͖ΔͳΒͬͨํ͕ྑ͍ Controller Service Repository EventPublisher MessagePolling ExternalClient ɹɹɹ : ςετΫϥεΛ࡞Δ୯Ґ DomainModel ValueObject