Skip to content

Commit

Permalink
feat: create app
Browse files Browse the repository at this point in the history
Signed-off-by: Otavio Santana <otaviopolianasantana@gmail.com>
  • Loading branch information
otaviojava committed Dec 21, 2024
1 parent f937680 commit 409f14a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/main/java/com/otaviojava/demos/ddd/App.java
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,11 @@ public static void main(String[] args) {
var garage = container.select(Garage.class, DatabaseQualifier.ofDocument()).get();
Car car = garage.park(garage.park(Car.of(vehicle)));
LOGGER.info("Saving a car: " + car);
Car carFound = garage.checkRegistration(car.getVin());
LOGGER.info("Car found: " + carFound);

}
System.exit(0);
}

private App() {
Expand Down

0 comments on commit 409f14a

Please sign in to comment.