mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-10-03 20:13:10 +00:00
Fixed tests
This commit is contained in:
1 parent
915a1f3eb0
commit
87cb33f69b
1 file changed
+1
-1
@@ -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