Test of getComments method, of class Place.
()
| 382 | * Test of getComments method, of class Place. |
| 383 | */ |
| 384 | @Test |
| 385 | public void testGetComments() { |
| 386 | System.out.println("getComments"); |
| 387 | |
| 388 | Place instance = new Place("MyPlace", 0, 0, layer); |
| 389 | assertNotNull(instance.getComments()); |
| 390 | assertEquals("", instance.getComments()); |
| 391 | |
| 392 | String comment1 = "My Comment"; |
| 393 | instance.setComments(comment1); |
| 394 | assertEquals(comment1, instance.getComments()); |
| 395 | |
| 396 | String comment2 = "Another comment"; |
| 397 | instance.setComments(comment2); |
| 398 | assertEquals(comment2, instance.getComments()); |
| 399 | } |
| 400 | |
| 401 | /** |
| 402 | * Test of getExit method, of class Place. |
nothing calls this directly
no test coverage detected