RESOLVED - bug 348772: DefaultToolBehaviorProvider has spelling error in public API
https://bugs.eclipse.org/bugs/show_bug.cgi?id=348772
diff --git a/tests/org.eclipse.graphiti.testtool.sketch/src/org/eclipse/graphiti/testtool/sketch/features/SwitchModeFeature.java b/tests/org.eclipse.graphiti.testtool.sketch/src/org/eclipse/graphiti/testtool/sketch/features/SwitchModeFeature.java
index 03f39a0..2337320 100644
--- a/tests/org.eclipse.graphiti.testtool.sketch/src/org/eclipse/graphiti/testtool/sketch/features/SwitchModeFeature.java
+++ b/tests/org.eclipse.graphiti.testtool.sketch/src/org/eclipse/graphiti/testtool/sketch/features/SwitchModeFeature.java
@@ -35,7 +35,7 @@
 		IDiagramTypeProvider dtp = getFeatureProvider().getDiagramTypeProvider();
 		IToolBehaviorProvider[] availableToolBehaviorProviders = dtp.getAvailableToolBehaviorProviders();
 		int providerCount = availableToolBehaviorProviders.length;
-		int newIndex = (dtp.getCurrentToolBahaviorIndex() + 1) % providerCount;
+		int newIndex = (dtp.getCurrentToolBehaviorIndex() + 1) % providerCount;
 		return newIndex;
 	}
 
@@ -53,7 +53,7 @@
 	public void execute(ICustomContext context) {
 		IDiagramTypeProvider dtp = getFeatureProvider().getDiagramTypeProvider();
 		int newIndex = calculateNextTBPIndex();
-		dtp.setCurrentToolBahaviorIndex(newIndex);
+		dtp.setCurrentToolBehaviorIndex(newIndex);
 	}
 
 	@Override