-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
11f50f7
commit 1def8c2
Showing
2 changed files
with
69 additions
and
0 deletions.
There are no files selected for viewing
14 changes: 14 additions & 0 deletions
14
.../src/test/java/site/timecapsulearchive/core/common/fixture/domain/GroupInviteFixture.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
package site.timecapsulearchive.core.common.fixture.domain; | ||
|
||
import java.util.Optional; | ||
import site.timecapsulearchive.core.domain.group.entity.Group; | ||
import site.timecapsulearchive.core.domain.member.entity.Member; | ||
import site.timecapsulearchive.core.domain.member_group.entity.GroupInvite; | ||
|
||
public class GroupInviteFixture { | ||
|
||
public static Optional<GroupInvite> groupInvite(Group group, Member groupOwner, | ||
Member groupMember) { | ||
return Optional.of(GroupInvite.createOf(group, groupOwner, groupMember)); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters