// IsType asserts that the specified objects are of the same type. func IsType(t TestingT, expectedType interface{}, object interface{}, msgAndArgs ...interface{}) { if !assert.IsType(t, expectedType, object, msgAndArgs...) { t.FailNow() } }
func TestClusterServices(t *testing.T) { services, _ := getClusterServices() assert.IsType(t, models.ECSServices{}, services) assert.Equal(t, 1, len(services)) }