package Ġnet . tim afe . ang kor . domain . enums Ċ Ċ import Ġnet . tim afe . ang kor . service . Link Service Ċ import Ġnet . tim afe . ang kor . web . Link Controller Ċ import Ġorg . assertj . core . api . Assertions Ċ import Ġorg . junit . jupiter . api . Test Ċ import Ġorg . mockito . Mockito Ċ Ċ class ĠLink MediaType UT Ġ{ ĊĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġfun Ġtest Link Media Types () Ġ{ ĊĠĠĠĠĠĠĠ Ġval Ġtypes Ġ= ĠLink Controller ( Mockito . mock ( Link Service :: class . java )). get Link Media Types () ĊĠĠĠĠĠĠĠ ĠAssertions . assertThat ( types . size ). isEqualTo ( Link MediaType . values (). size ) ĊĠĠĠĠĠĠĠ Ġtypes . forEach { ĠAssertions . assertThat ( it . icon ). isNotBlank () Ġ Ġ} ĊĠĠĠĠĠĠĠ Ġtypes . forEach { ĠAssertions . assertThat ( it . label ). isNotBlank () Ġ Ġ} ĊĠĠĠ Ġ} Ċ Ċ } Ċ