github.com/niedbalski/juju@v0.0.0-20190215020005-8ff100488e47/core/cache/export_test.go (about)

     1  // Copyright 2018 Canonical Ltd.
     2  // Licensed under the AGPLv3, see LICENCE file for details.
     3  
     4  package cache
     5  
     6  var (
     7  	CreateControllerGauges = createControllerGauges
     8  	NewModel               = newModel
     9  )
    10  
    11  // Expose SetDetails for testing.
    12  func (m *Model) SetDetails(details ModelChange) {
    13  	m.setDetails(details)
    14  }