Skip to content

Commit

Permalink
Improve
Browse files Browse the repository at this point in the history
  • Loading branch information
rogervinas committed Nov 19, 2023
1 parent 3530b55 commit 7a27ca6
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@
%%{ init: { "sequence": { "mirrorActors": false } } }%%
sequenceDiagram
participant Main
create participant HelloConsole as Hello<br>Console
Main ->> HelloConsole: Create
create participant HelloMessage as Hello<br>Message
participant HelloApp as Hello<br>App
participant HelloMessage as Hello<br>Message
participant HelloConsole as Hello<br>Console
Main ->> HelloMessage: Create
create participant HelloApp as Hello<br>App
Main ->> HelloConsole: Create
Main ->> HelloApp: Create
Main ->>+ HelloApp: printHello()
HelloApp ->> HelloMessage: getText()
Expand All @@ -23,22 +23,22 @@ sequenceDiagram
%%{ init: { "sequence": { "mirrorActors": false } } }%%
sequenceDiagram
participant Test
create participant HelloMessage as Hello Message
participant HelloMessage as Hello<br>Message
Test ->> HelloMessage: Create
Test ->> HelloMessage: getText()
HelloMessage -->> Test: "Hello World!"
Test ->> Test: Assert Text is "Hello World!"
Test ->> Test: Assert Text<br>is "Hello World!"
```

```mermaid
%%{ init: { "sequence": { "mirrorActors": false } } }%%
sequenceDiagram
participant Test
create participant HelloConsoleMock as Hello Console<br>Mock
Test ->> HelloConsoleMock: Create
create participant HelloMessageMock as Hello Message<br>Mock
participant HelloApp as Hello<br>App
participant HelloMessageMock as Hello Message<br>Mock
participant HelloConsoleMock as Hello Console<br>Mock
Test ->> HelloMessageMock: Create
create participant HelloApp as Hello<br>App
Test ->> HelloConsoleMock: Create
Test ->> HelloApp: Create
Test ->>+ HelloApp: printHello()
HelloApp ->> HelloMessageMock: getText()
Expand Down

0 comments on commit 7a27ca6

Please sign in to comment.