"Protocols in Swift" was retired on May 31, 2020.

Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Java Unit Testing in Java What to Test To Test or Not To Test

Yevgen Zabrodin
Yevgen Zabrodin
581 Points

A good method of making sure that your test is isolated is to employ a test doubles?

I can't understand answer on this question. I think that correct answer is to test doubles but system say that its incorrect

2 Answers

Seth Kroger
Seth Kroger
56,413 Points

The quiz accepts "double" but not "doubles". It's just being picky about grammar. (The question asks "... a test ___", implying a singular, not plural).

Craig Dennis
Craig Dennis
Treehouse Teacher

Thanks Seth Kroger ! Will update to allow both!