Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding Spring Boot API UTs and ITs #3

Merged
merged 7 commits into from
May 2, 2018
Merged

Adding Spring Boot API UTs and ITs #3

merged 7 commits into from
May 2, 2018

Conversation

bdemers
Copy link
Contributor

@bdemers bdemers commented Apr 25, 2018

No description provided.

@@ -9,24 +9,27 @@ public String getCrypto() {
return crypto;
}

public void setCrypto(String crypto) {
public Holding setCrypto(String crypto) {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mraible not sure how you feel about this one.
I added it for simplicity, so the test code looks like:

new Holding()
                    .setCrypto("crypto-1")
                    .setCurrency("currency-1")
                    .setAmount("amount-1")

but we could accomplish the same thing with an extra constructor or a few extra lines of code.

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like fluid POJOs, so +1. You'll just have to make sure and explain the change in the post. ;)

@mraible mraible changed the title Adding UTs and ITs Adding API UTs and ITs Apr 30, 2018
@mraible mraible changed the title Adding API UTs and ITs Adding Spring Boot API UTs and ITs May 2, 2018
@mraible mraible merged commit d0e8419 into master May 2, 2018
@mraible mraible deleted the bdemers-add-tests branch May 2, 2018 16:43
@mraible mraible restored the bdemers-add-tests branch May 2, 2018 21:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants