(t *testing.T, content string, functions []phpFunction)
| 570 | } |
| 571 | |
| 572 | func testStubFunctions(t *testing.T, content string, functions []phpFunction) { |
| 573 | for _, fn := range functions { |
| 574 | expectedFunc := "function " + fn.Signature + " {}" |
| 575 | assert.Contains(t, content, expectedFunc, "Stub should contain function: %s", expectedFunc) |
| 576 | } |
| 577 | } |
| 578 | |
| 579 | func testStubClasses(t *testing.T, content string, classes []phpClass) { |
| 580 | for _, class := range classes { |
no outgoing calls
no test coverage detected