Test of setInfoRing method, of class Place.
()
| 362 | * Test of setInfoRing method, of class Place. |
| 363 | */ |
| 364 | @Test |
| 365 | public void testSetInfoRing() { |
| 366 | System.out.println("setInfoRing"); |
| 367 | |
| 368 | Place instance = new Place("MyPlace", 0, 0, layer); |
| 369 | |
| 370 | InformationColor infoCol = new InformationColor("description", Color.yellow); |
| 371 | instance.setInfoRing(infoCol); |
| 372 | InformationColor result = instance.getInfoRing(); |
| 373 | assertEquals(infoCol, result); |
| 374 | |
| 375 | // test null |
| 376 | instance.setInfoRing(null); |
| 377 | result = instance.getInfoRing(); |
| 378 | assertEquals(null, result); |
| 379 | } |
| 380 | |
| 381 | /** |
| 382 | * Test of getComments method, of class Place. |
nothing calls this directly
no test coverage detected