@@ -35,7 +35,7 @@ import { NullCommand } from "../support/NullCommand";
3535import { ParametersSignal } from "../support/ParametersSignal" ;
3636
3737describe ( "SignalCommandTrigger" , ( ) => {
38- let signal : ISignal ;
38+ let signal : Signal ;
3939 let injector : IInjector ;
4040 let subject : SignalCommandTrigger ;
4141
@@ -63,7 +63,7 @@ describe("SignalCommandTrigger", () => {
6363
6464 signalMock . expects ( "add" ) . once ( ) ;
6565
66- injector . bind ( ISignal ) . toConstantValue ( signal ) ;
66+ injector . bind ( Signal ) . toConstantValue ( signal ) ;
6767 subject . activate ( ) ;
6868
6969 signalMock . restore ( ) ;
@@ -81,7 +81,7 @@ describe("SignalCommandTrigger", () => {
8181 signalMock . expects ( "add" ) . once ( ) ;
8282 signalMock . expects ( "remove" ) . once ( ) ;
8383
84- injector . bind ( ISignal ) . toConstantValue ( signal ) ;
84+ injector . bind ( Signal ) . toConstantValue ( signal ) ;
8585 subject . activate ( ) ;
8686 subject . deactivate ( ) ;
8787
@@ -95,7 +95,7 @@ describe("SignalCommandTrigger", () => {
9595 signalMock . expects ( "add" ) . never ( ) ;
9696 signalMock . expects ( "remove" ) . never ( ) ;
9797
98- injector . bind ( ISignal ) . toConstantValue ( signal ) ;
98+ injector . bind ( Signal ) . toConstantValue ( signal ) ;
9999 subject . deactivate ( ) ;
100100
101101 signalMock . restore ( ) ;
@@ -117,7 +117,7 @@ describe("SignalCommandTrigger", () => {
117117 } )
118118 . whenTargetNamed ( "executeCallback" ) ;
119119
120- injector . bind ( ISignal ) . toConstantValue ( signal ) ;
120+ injector . bind ( Signal ) . toConstantValue ( signal ) ;
121121 mapper = subject . createMapper ( ) ;
122122 mapper . toCommand ( CallbackCommand ) ;
123123 signal . dispatch ( ) ;
@@ -136,7 +136,7 @@ describe("SignalCommandTrigger", () => {
136136 } )
137137 . whenTargetNamed ( "executeCallback" ) ;
138138
139- injector . bind ( ISignal ) . toConstantValue ( signal ) ;
139+ injector . bind ( Signal ) . toConstantValue ( signal ) ;
140140 mapper = subject . createMapper ( ) ;
141141 mapper . toCommand ( CallbackCommand ) ;
142142 subject . deactivate ( ) ;
@@ -167,7 +167,7 @@ describe("SignalCommandTrigger", () => {
167167 } )
168168 . whenTargetNamed ( "reportParameter" ) ;
169169
170- injector . bind ( ISignal ) . toConstantValue ( signal ) ;
170+ injector . bind ( Signal ) . toConstantValue ( signal ) ;
171171 mapper = subject . createMapper ( ) ;
172172 mapper . toCommand ( CallbackParametersCommand ) ;
173173 signal . dispatch . apply ( signal , expected ) ;
@@ -197,7 +197,7 @@ describe("SignalCommandTrigger", () => {
197197 . whenTargetNamed ( "reportParameter" ) ;
198198
199199 signal = new ParametersSignal ( ) ;
200- injector . bind ( ISignal ) . toConstantValue ( signal ) ;
200+ injector . bind ( Signal ) . toConstantValue ( signal ) ;
201201 mapper = subject . createMapper ( ) ;
202202 mapper . toCommand ( CallbackParametersCommand ) ;
203203 signal . dispatch . apply ( signal , expected ) ;
@@ -214,7 +214,7 @@ describe("SignalCommandTrigger", () => {
214214 callCount ++ ;
215215 } ) ;
216216
217- injector . bind ( ISignal ) . toConstantValue ( signal ) ;
217+ injector . bind ( Signal ) . toConstantValue ( signal ) ;
218218 subject = new SignalCommandTrigger ( injector , Signal , processors ) ;
219219 mapper = subject . createMapper ( ) ;
220220 mapper . toCommand ( NullCommand ) ;
@@ -238,7 +238,7 @@ describe("SignalCommandTrigger", () => {
238238 callCount ++ ;
239239 } ) ;
240240
241- injector . bind ( ISignal ) . toConstantValue ( signal ) ;
241+ injector . bind ( Signal ) . toConstantValue ( signal ) ;
242242 subject = new SignalCommandTrigger ( injector , Signal , processors ) ;
243243 mapper = subject . createMapper ( ) ;
244244 mapper . toCommand ( NullCommand ) ;
0 commit comments