github.com/l3x/learn-fp-go@v0.0.0-20171228022418-7639825d0b71/2-design-patterns/ch06-onion-arch/04_onion/src/infrastructure/infrastructure_test/localhandler_test.go (about)

     1  package infrastructure_test
     2  
     3  import (
     4  	"testing"
     5  	"infrastructure"
     6  )
     7  
     8  func TestLocalInteractor(t *testing.T) {
     9  	localInteractor, err := infrastructure.GetLocalInteractor()
    10  	if err != nil {
    11  		t.Error("GetLocalInteractor failed")
    12  	}
    13  	localInteractor.LocalRepository.FileExists()
    14  }
    15  
    16  func TestFileExists(t *testing.T) {
    17  	t.Error("We haven't written our test yet")
    18  }