mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-08-05 06:22:01 +00:00
Fixed tests
This commit is contained in:
@@ -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