text Creator Log: Fetching employee by email: steve.r@notarealemail.com Log: Found employee: EmployeeInfo{email='steve.r@notarealemail.com', departmentId=101} Log: Fetching department by ID: 101 Log: Found department: DepartmentInfo{id=101, departmentName='Technology'}
Result: Employee Email: steve.r@notarealemail.com Department Name: Technology
Executed Successfully
The input for the previous execution was hardcoded within the Main.java
file:
java // From Main.java String targetEmail = "steve.r@notarealemail.com";
This email address (steve.r@notarealemail.com
) was used to perform the first fetch operation to find the employee information.