mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-05-14 12:58:37 +00:00
Fixed tests
This commit is contained in:
committed by
GitHub
parent
915a1f3eb0
commit
87cb33f69b
@@ -66,7 +66,7 @@ public class AdapterPatternTest {
|
||||
*/
|
||||
@Test
|
||||
public void testAdapter() {
|
||||
RowingBoat captain = (RowingBoat) beans.get(ROWING_BEAN);
|
||||
Captain captain = (Captain) beans.get(ROWING_BEAN);
|
||||
|
||||
// when captain moves
|
||||
captain.row();
|
||||
|
||||
Reference in New Issue
Block a user