mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-05-16 14:59:21 +00:00
docs: extension objects
This commit is contained in:
@@ -35,7 +35,7 @@ import org.junit.jupiter.api.Test;
|
||||
class UnitTest {
|
||||
|
||||
@Test
|
||||
void testConstGetSet() throws Exception {
|
||||
void testConstGetSet() {
|
||||
final var name = "testName";
|
||||
final var unit = new Unit(name);
|
||||
assertEquals(name, unit.getName());
|
||||
|
||||
Reference in New Issue
Block a user