Skip to content

Commit

Permalink
Update Chain-Of-Responsibility.md
Browse files Browse the repository at this point in the history
  • Loading branch information
nguyenphuc22 committed Dec 11, 2023
1 parent ca85020 commit 7b73783
Showing 1 changed file with 13 additions and 11 deletions.
24 changes: 13 additions & 11 deletions Writerside/topics/Chain-Of-Responsibility.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,27 +117,29 @@ classDiagram
+checkNext(String email, String password) Boolean
}
class RawDataTest {
+check(String email, String password) Boolean
+check(String email, String password) Boolean
}
class UserExistsTest {
-server Server
+check(String email, String password) Boolean
-server Server
+check(String email, String password) Boolean
}
class RoleTest {
+check(String email, String password) Boolean
+check(String email, String password) Boolean
}
class Server {
-users Map~String, String~
-test Test
+setTest(Test test)
+hasEmail(String email) Boolean
+register(String email, String password)
+logIn(String email, String password) Boolean
-users Map<String, String>
-test Test
+setTest(Test test)
+hasEmail(String email) Boolean
+register(String email, String password)
+logIn(String email, String password) Boolean
}
class Demo {
+main(String[] args)
+main(String[] args)
}
Test <|-- RawDataTest
Test <|-- UserExistsTest
Test <|-- RoleTest
Expand Down

0 comments on commit 7b73783

Please sign in to comment.