// ĠCopyright Ġ 2 0 2 0 ĠAmazon . com , ĠInc . Ġor Ġits Ġaffiliates . ĠAll ĠRights ĠReserved . Ċ // ĠSPDX - License - Identifier : ĠApache - 2 . 0 Ċ Ċ package Ġsoftware . aws . tool k its . jetbrains . services . s 3 Ċ Ċ import Ġcom . intellij . openapi . vfs . Virtual File Ċ import Ġicons . Aws Icons . Resources . S 3 _ BUCKET Ċ import Ġorg . assertj . core . api . Assertions . assertThat Ċ import Ġorg . junit . Test Ċ import Ġorg . mockito . Mockito . mock Ċ import Ġsoftware . aws . tool k its . jetbrains . services . s 3 . editor . S 3 File Icon Provider Ċ import Ġsoftware . aws . tool k its . jetbrains . services . s 3 . editor . S 3 Virtual Bucket Ċ Ċ class ĠS 3 File Icon Provider Test Ġ{ ĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġfun Ġs 3 Icon Provider () Ġ{ ĊĠĠĠĠĠĠĠ Ġval Ġprovider Ġ= ĠS 3 File Icon Provider () ĊĠĠĠĠĠĠĠ ĠassertThat ( provider . get Icon ( mock ( S 3 Virtual Bucket :: class . java ), Ġ 0 , Ġnull )). isEqualTo ( S 3 _ BUCKET ) ĊĠĠĠĠĠĠĠ ĠassertThat ( provider . get Icon ( mock ( Virtual File :: class . java ), Ġ 0 , Ġnull )). isNull () ĊĠĠĠ Ġ} Ċ } Ċ