/
estringtostringmapentry_mock.go
58 lines (47 loc) · 1.57 KB
/
estringtostringmapentry_mock.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
// Code generated by soft.generator.go. DO NOT EDIT.
// *****************************************************************************
// Copyright(c) 2021 MASA Group
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at https://mozilla.org/MPL/2.0/.
//
// *****************************************************************************
package ecore
type MockEStringToStringMapEntry struct {
MockEObjectInternal
}
// GetStringKey get the value of key
func (eStringToStringMapEntry *MockEStringToStringMapEntry) GetStringKey() string {
ret := eStringToStringMapEntry.Called()
var r string
if rf, ok := ret.Get(0).(func() string); ok {
r = rf()
} else {
if ret.Get(0) != nil {
r = ret.Get(0).(string)
}
}
return r
}
// SetStringKey provides mock implementation for setting the value of key
func (eStringToStringMapEntry *MockEStringToStringMapEntry) SetStringKey(newKey string) {
eStringToStringMapEntry.Called(newKey)
}
// GetStringValue get the value of value
func (eStringToStringMapEntry *MockEStringToStringMapEntry) GetStringValue() string {
ret := eStringToStringMapEntry.Called()
var r string
if rf, ok := ret.Get(0).(func() string); ok {
r = rf()
} else {
if ret.Get(0) != nil {
r = ret.Get(0).(string)
}
}
return r
}
// SetStringValue provides mock implementation for setting the value of value
func (eStringToStringMapEntry *MockEStringToStringMapEntry) SetStringValue(newValue string) {
eStringToStringMapEntry.Called(newValue)
}